import { HelloParams } from '/@/api/sys/model/testModel';
import { defRecommendHttp } from '/@/utils/http/axios';

enum Api {
  Hello = '/test/hello',
}

export function sendHello(params: HelloParams) {
  return defRecommendHttp.get<string>(
    {
      url: Api.Hello,
      params,
    },
    {
      errorMessageMode: 'modal',
    },
  );
}
